package com.ruoyi.channel.domain.bo;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 渠道数据管理员业务员配置业务对象 t_channel_data_staff
 *
 * @author ruoyi
 * @date 2023-11-01
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TChannelDataStaffBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 渠道数据id
     */
    //@NotNull(message = "渠道数据id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long channelDataId;

    /**
     * 1、管理员 2、业务员
     */
    //@NotBlank(message = "1、管理员 2、业务员不能为空", groups = { AddGroup.class, EditGroup.class })
    private String type;

    /**
     * 用户id
     */
    //@NotNull(message = "用户id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long userId;

    /**
     * 数据信息（比如 每个人的数量、按天按月）
     */
    //@NotBlank(message = "数据信息（比如 每个人的数量、按天按月）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String dataInfo;

    /**
     * 创建者id
     */
    //@NotNull(message = "创建者id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long createId;

    /**
     * 状态
     */
    //@NotBlank(message = "状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;

    private String number;

    private String disType;
}
